﻿Public Class Frm_ta3n
    Private Sub Frm_darajat_ta9adi_FormClosed(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosedEventArgs) Handles Me.FormClosed
        Frm_Dossier.Enabled = True
        Partager.com_ville(Frm_Dossier.Comb_toro9_ta3n, "Comb_toro9_ta3n", "toro9_ta3n")
    End Sub

    Private Sub Frm_darajat_ta9adi_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        txt_ta3n.Select()
        Partager.RemplirList(List_ta3n, "Comb_toro9_ta3n", "toro9_ta3n")
    End Sub

    Private Sub btn_ajout_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_ajout.Click
        Partager.AjouterWadifa(txt_ta3n, List_ta3n, "Comb_toro9_ta3n", "toro9_ta3n")
    End Sub

    Private Sub btn_supp_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_supp.Click
        Partager.DeleteFromList(List_ta3n, "Comb_toro9_ta3n", "toro9_ta3n", txt_ta3n)
    End Sub
End Class